package com.easy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.easy.bean.*;

@Mapper
public interface UserDao {

    User getUserByUsername(@Param("username") String username);

    User getUserByID(@Param("id") Integer id);

    int editUser(@Param("user")User user);

    int add(@Param("user")User user);
}
